package se3a04.mcmapster;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class huntController extends Activity {

	Button register, start;
	TextView scavenger;
	
	@Override
	protected void onCreate(Bundle huntControllerState) {
	
		super.onCreate(huntControllerState);
		setContentView(R.layout.scavengermainmenu);
		
		scavenger = (TextView) findViewById(R.id.tvScavengerMain);
		register = (Button) findViewById(R.id.bRegistration);
		start = (Button) findViewById(R.id.bStart);
		
		register.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				
				startHuntRegistration();
			}
		});
		
		start.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				
				startChooseHunt();
			}
		});
	}

	public void startChooseHunt() {
		
		Intent startChooseHunt = new Intent("se3a04.mcmapster.CHOOSEHUNT");
		startActivity(startChooseHunt);
	}
	
	public void startHuntRegistration() {
		
		Intent startHuntRegistration = new Intent("se3a04.mcmapster.HUNTREGISTRATION");
		startActivity(startHuntRegistration);
	}

	public String getHuntList() {
		
		String list = null;
		
		return list;	
	}
}
